const path = require('path');

module.exports = {
    mode: 'development',
    entry: './src/index.js', // 入口文件
    output: {
        filename: 'suibian.js',
        path: path.resolve(__dirname, 'test'),
    },
    module: {
        rules: [
            {
                test: /\.css$/i,  // 匹配.CSS .css
                use: ['style-loader', 'css-loader'],
            },
        ],
    },
};
